<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'Add.jsp' starting page</title>

		<meta name="author" content="0912652" />
		<meta name="description"
			content="酒店前台预约系统是一款基于J2EE的模拟酒店前台电话客服、客房预订等功能的客服管理系统" />

		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<sx:head parseContent="true" />

	</head>

	<body>
		<s:form action="Supervisor.action">
			<table>
				<s:textfield name="snum" label="工号"></s:textfield>

				<s:password name="pwd" label="密码" id="password1"></s:password>

				<s:password name="rebpwd" label="确认密码" id="password2"
					onblur="checkrepwd()"></s:password>

				<s:select name="sauthority" list="{'普通客服','客户经理','管理员'}"
					label="客户权限" headerKey="0" headerValue="---请选择客服权限---"></s:select>

				<s:textfield name="sname" label="姓名"></s:textfield>
				<s:radio name="ssex" cssClass="radio" list="{'男','女'}"
					value="{'1','0'}" label="性别"></s:radio>

				<sx:datetimepicker label="出生年月" name="sage" value="today"></sx:datetimepicker>

				<s:file name="photo" label="头像"></s:file>

				<s:submit theme="simple" cssClass="regist" value="注册"
					method="addCustServer"></s:submit>
			</table>
		</s:form>
	</body>
</html>
